﻿using System;
using Missbot.Core.Base;

namespace Missbot.AIModule.Base
{
    [AttributeUsage(AttributeTargets.Method)]
    public class ModuleEnterAttribute : Attribute
    {
        public string Command { get; set; }
        
        public string Description { get; set; }
        
        public AuthorityLevel AuthLvl { get; set; } = AuthorityLevel.Member;
        
        public int DailyLimit { get; set; }
        
        public string ID { get; set; }
        
        public string SyntaxHint { get; set; }

        /// <summary>
        /// 入口支持的通道类型（默认全通道可用）
        /// </summary>
        public ChannelType ChannelType { get; set; } = (ChannelType) 0xffff;
    }
}